#ifndef TYPESEARCH_H
#define TYPESEARCH_H

#include "./include/search.h"

class QLabel;
class QComboBox;

class TypeSearchDlg : public Search
{
    Q_OBJECT

public:
    TypeSearchDlg(QWidget *parent = 0);

protected slots:
    void SearchItems();

private:
    QString BuildQuery();
    void CreateWidget();
    void CreateLayout();
    void UpdateSearchResult(const QString &sqlQuery);

    QLabel *areaLabel;
    QLabel *devLabel;
    QComboBox *area;
    QComboBox *dev;
};

#endif // TYPESEARCH_H
